.container {
  background-color: #f5f7fa;
  min-height: 100vh;
  padding-bottom: 20rpx;
}

.user-section {
  position: relative;
  padding: 0 30rpx 40rpx;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 0 0 40rpx 40rpx;
  box-shadow: 0 10rpx 30rpx rgba(102, 126, 234, 0.3);
  overflow: hidden;
}

.user-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url('');
  opacity: 0.15;
}

.user-header {
  position: relative;
  display: flex;
  align-items: center;
  padding: 60rpx 0 40rpx;
}

.user-avatar {
  position: relative;
  width: 140rpx;
  height: 140rpx;
  border-radius: 50%;
  border: 4rpx solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  box-shadow: 0 10rpx 20rpx rgba(0, 0, 0, 0.15);
}

.avatar-img {
  width: 100%;
  height: 100%;
}

.avatar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
}

.user-info {
  flex: 1;
  padding: 0 30rpx;
}

.username {
  font-size: 36rpx;
  font-weight: 500;
  color: #fff;
  margin-bottom: 10rpx;
  display: block;
}

.login-text {
  font-size: 36rpx;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.cancel-text {
  font-size: 24rpx;
  color: #ffdd59;
  margin-left: 10rpx;
}

.user-id {
  font-size: 26rpx;
  color: rgba(255, 255, 255, 0.8);
}

.setting-btn {
  width: 70rpx;
  height: 70rpx;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10rpx);
  
  &:active {
    background: rgba(255, 255, 255, 0.3);
  }
}

/* 订单统计 */
.order-stats {
  background: #fff;
  border-radius: 20rpx;
  margin: 20rpx;
  box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30rpx;
  border-bottom: 1rpx solid #f0f0f0;
}

.stats-title {
  font-size: 32rpx;
  font-weight: 500;
  color: #333;
}

.more-btn {
  display: flex;
  align-items: center;
  color: #999;
  font-size: 26rpx;
}

.stats-grid {
  display: flex;
  padding: 30rpx 0;
}

.stats-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10rpx;
  position: relative;
}

.stats-icon-wrapper {
  position: relative;
  width: 80rpx;
  height: 80rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15rpx;
  border-radius: 50%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.08);
}

.stats-badge {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 2;
  transform: translate(30%, -30%);
}

.stats-label {
  font-size: 26rpx;
  color: #666;
}

/* 菜单区域 */
.menu-section {
  background: #fff;
  border-radius: 20rpx;
  margin: 20rpx;
  box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* 扩展区域 */
.extend-section {
  background: #fff;
  border-radius: 20rpx;
  margin: 20rpx;
  box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.extend-grid {
  padding: 20rpx;
}

.grid-text {
  font-size: 24rpx;
  color: #666;
  margin-top: 10rpx;
}

// 原有样式保持不变
%flex-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

%section {
  display: flex;
  justify-content: space-around;
  align-content: center;
  background: #fff;
  border-radius: 10upx;
}

.menu-container {
  background-color: #f5f5f5;
  position: relative;
  padding-bottom: 20rpx;

  .extend-list {
    padding: 8rpx;
    margin-top: 20rpx;
  }
}

.menu-list {
  margin-top: 30rpx;
  background: #fff;
  border-radius: 10upx;

  switch {
    transform: scale(0.7, 0.7)
  }
}

.list-item {
  width: 100%;
  padding: 0rpx;
  background-color: #FFFFFF !important;
  border: initial;
  text-align: initial;
}

.list-item::after {
  border: initial;
}

.select_bill {
  flex: 1;
  margin-right: 10px;
  text-align: right;
  color: #FFFFFF;
}